﻿
@{
    ViewBag.Title = "Index";
}

<h2>Calculator</h2>

<form action="/Calculator/Calculate" method="post">
    <input name="a" />
    <select name="o">
        <option>+</option>
        <option>-</option>
        <option>x</option>
        <option>:</option>
    </select>
    <input name="b" />
    <button>=</button>
    <input name="c" value="@ViewBag.KetQua" />
</form>